using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Youshow.Ace.Domain.Models;

namespace YayiMgr.Domain.BasicData
{
    /// <summary>
    /// 生产厂家
    /// </summary>
    public class Manufacturers: BaseModel<Guid>
    {
        [Comment("生产厂家名称")]
        [MaxLength(100)]
        public string ManufacturerName { get; set; }
        [Comment("联系人姓名")]
        [MaxLength(20)]
        public string? ContactName { get; set; }
        [Comment("联系人职位")]
        [MaxLength(20)]
        public string? ContactTitle { get; set; }
        [Comment("地址")]
        [MaxLength(200)]
        public string? Address { get; set; }
        [Comment("邮政编码")]
        [MaxLength(20)]
        public string? PostalCode { get; set; }
        [Comment("联系电话")]
        [MaxLength(20)]
        public string? Phone { get; set; }
        [Comment("传真号码")]
        [MaxLength(20)]
        public string? Fax { get; set; }
        [Comment("电子邮箱")]
        [MaxLength(20)]
        public string? Email { get; set; }
        [Comment("网站地址")]
        [MaxLength(200)]
        public string? Website { get; set; }
        [Comment("税务登记号")]
        [MaxLength(100)]
        public string? TaxID { get; set; }
        [Comment("营业执照号码")]
        [MaxLength(100)]
        public string? LicenseNumber { get; set; }
        [Comment("备注")]
        public string? Notes { get; set; }
        
        [Comment("企业ID")]
        public Guid CompanyId { get; set; }
        
    }
}